package com.rocpenghua.design.proxy.jdk;

/**
 * @author pengp
 * @date 2022年07月21日 15:34
 */
public class UserDao implements IUserDao {
    @Override
    public void save() {
        System.out.println("save");
    }

    @Override
    public void delete() {
        System.out.println("delete");
    }

    @Override
    public void saveAndDelete() {
        save();

        delete();
    }
}
